var net = require('net'),
    puts = require('sys').puts;

var s = net.createServer();
s.addListener('connection', 
    function (c) {
        var cli = c.address();
        puts('fregues:', cli.address);
        c.end('hello!\n');
});

s.listen(8999);

